package cn.com.cennavi.bean;

import java.io.Serializable;
import java.util.HashMap;

public class LaneConfigFileData implements Serializable{
	private static final long serialVersionUID = 1L;
	/** key:link，value:lane静态属性 **/
	private HashMap<String, String> dataMap = new HashMap<String, String>();

	public void setMap(HashMap<String, String> dataMap) {
		this.dataMap = dataMap;
	}

	public HashMap<String, String> getMap() {
		return this.dataMap;
	}

//	@Override
//	public void readFields(DataInput in) throws IOException {
//		// TODO Auto-generated method stub
//		this.dataMap.clear();
//		int count = in.readInt();
//		for (int i = 0; i < count; i++) {
//			String key = in.readUTF();
//			String value = in.readUTF();
//			this.dataMap.put(key, value);
//		}
//	}
//
//	@Override
//	public void write(DataOutput out) throws IOException {
//		// TODO Auto-generated method stub
//		out.writeInt(this.dataMap.size());
//		for (String key : this.dataMap.keySet()) {
//			out.writeUTF(key);
//			out.writeUTF(this.dataMap.get(key));
//		}
//	}

}
